@if ($paginator->hasPages())
    <ul class="fr pc-search-g">
        {{-- Previous Page Link --}}
        @if ($paginator->onFirstPage())
            <a class="pc-search-f"></a>
        @else
            <a class="pc-search-f"  href="{{ $paginator->previousPageUrl() }}" rel="prev"></a>
        @endif

        {{-- Pagination Elements --}}
        @foreach ($elements as $element)
            {{-- "Three Dots" Separator --}}
            @if (is_string($element))
                <a class="current"><span>{{ $element }}</span></a>
            @endif

            {{-- Array Of Links --}}
            @if (is_array($element))
                @foreach ($element as $page => $url)
                    @if ($page == $paginator->currentPage())
                        <a class="current">{{ $page }}</a>
                    @else
                        <a class="page-link" href="{{ $url }}">{{ $page }}</a>
                    @endif
                @endforeach
            @endif
        @endforeach

        {{-- Next Page Link --}}
        @if ($paginator->hasMorePages())
            <a class="pc-search-n" href="{{ $paginator->nextPageUrl() }}" rel="next"></a>
        @else
            <a class="pc-search-n"></a>
        @endif
    </ul>
@endif
<!-- <div class="fr pc-search-g">
    <a class="fl pc-search-f" href="#">上一页</a>
    <a href="#" class="current">1</a>
    <a href="javascript:;">2</a>
    <a href="javascript:;">3</a>
    <a href="javascript:;">4</a>
    <a href="javascript:;">5</a>
    <a href="javascript:;">6</a>
    <a href="javascript:;">7</a>
    <span class="pc-search-di">…</span>
    <a title="使用方向键右键也可翻到下一页哦！" class="pc-search-n" href="javascript:;" onClick="SEARCH.page(3, true)">下一页</a>
    <span class="pc-search-y">
        <em>  共20页    到第</em>
        <input type="text" class="pc-search-j" placeholder="1">
        <em>页</em>
        <a href="#" class="confirm">确定</a>
    </span>

</div> -->
